package com.ins1st.plus.api.system.config.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 参数配置
 * </p>
 *
 * @author sun
 * @since 2019-09-07
 */
public class SysConstants implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 变量名称
     */
    @TableField("constants_name")
    private String constantsName;

    /**
     * 变量key
     */
    @TableField("constants_key")
    private String constantsKey;

    /**
     * 变量value
     */
    @TableField("constants_value")
    private String constantsValue;

    /**
     * 变量value
     */
    @TableField("constants_remark")
    private String constantsRemark;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
    public String getConstantsName() {
        return constantsName;
    }

    public void setConstantsName(String constantsName) {
        this.constantsName = constantsName;
    }
    public String getConstantsKey() {
        return constantsKey;
    }

    public void setConstantsKey(String constantsKey) {
        this.constantsKey = constantsKey;
    }
    public String getConstantsValue() {
        return constantsValue;
    }

    public void setConstantsValue(String constantsValue) {
        this.constantsValue = constantsValue;
    }
    public String getConstantsRemark() {
        return constantsRemark;
    }

    public void setConstantsRemark(String constantsRemark) {
        this.constantsRemark = constantsRemark;
    }

    @Override
    public String toString() {
        return "SysConstants{" +
            "id=" + id +
            ", constantsName=" + constantsName +
            ", constantsKey=" + constantsKey +
            ", constantsValue=" + constantsValue +
            ", constantsRemark=" + constantsRemark +
        "}";
    }
}
